package spring;

import java.util.List;

public class StudentController {
    private StudentService ss;
    public void setSs(StudentService ss){
        this.ss = ss;
    }
    public StudentController() {}
    public StudentController(StudentService ss) {
        this.ss = ss;
    }

    public Student getStudent(){
        return ss.getStudent();
    }

    public List<Student> findStudent(){
        return ss.findStudent();
    }
}
